<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登陆失败</title>
    <link type="text/css" href="../static/css/forgetPwd.css" rel="stylesheet" />
</head>
<body>
<h1>用户名或密码错误登陆失败,<span id="time">5</span>秒之后,回到登陆界面。。。</h1>
<script>
    var second = 5;
    var time = document.getElementById("time");
    function showtime(){
        second--;
        if(second<=0){
            location.href="${pageContext.request.contextPath}/Register.jsp";
        }
        time.innerHTML = second+"";
    }
    setInterval(showtime,1000);
</script>
</body>
</html>
